package cc.facesign.admin.dao.xls;

import cc.facesign.admin.bean.xls.AddConfUserXls;
import cc.facesign.admin.bean.xls.AddDeptUserXls;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface XlsDao {

    /**
     * 向部门中添加用户，返回异常用户
     * @param cachedDataList 数据
     * @return
     */
    List<AddDeptUserXls> saveForAddUserInDept(List<AddDeptUserXls> cachedDataList, List<MultipartFile> pics, String deptId) throws IOException;

    /**
     * 向部门中添加用户，返回异常信息
     * @param cachedDataList
     * @param confId 会议id
     * @return
     */
    List<AddConfUserXls> saveForAddUserInConf(List<AddConfUserXls> cachedDataList, String confId);
}
